<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<div id="app">
    <h1>{{message}}</h1>
    <h1>{{grate+","+name}}</h1>
    <h1>{{num+456}}</h1>
</div>
</body>
<script type="module">
    import {createApp} from "../../../../../js/vue.esm-browser.js";

    const app = createApp({
        // setup() {
        //     return {
        //         message: "hello world",
        //         grate: "Hi!",
        //         name: "zhanghaolong",
        //         num: 123
        //     }
        // }


        setup() {
            let message = "hello world";
            let grate = "Hi!";
            let name = "zhanghaolong";
            let num = 123
            return {
                message, grate, name, num
            }
        }

    })
    app.mount("#app")

</script>
</html>